package com.asset.dispoal.file.casedispose.strategy.command;

import com.asset.dispoal.file.casedispose.dto.FileCaseConditionRequest;
import com.asset.dispoal.file.casedispose.strategy.BaseFileUploadConditionStrategyServer;
import org.springframework.stereotype.Component;
import tech.mhuang.pacebox.core.strategy.StrategyHandlerParam;
import tech.mhuang.pacebox.core.strategy.StrategyHandlerResult;
import tech.mhuang.pacebox.springboot.protocol.Result;

import java.util.Collections;
import java.util.List;

@Component
public class CaseStepJudgmentStrategyServer implements BaseFileUploadConditionStrategyServer {
    @Override
    public StrategyHandlerResult<Result> strategy(StrategyHandlerParam<FileCaseConditionRequest> request) {
        return new StrategyHandlerResult<>(true, Result.ok());
    }

    @Override
    public List<String> event() {
        return Collections.singletonList("10");
    }
}
